﻿using System;
using System.Collections.Generic;

using System.Text;
using Wolfut.MirageEE.Core.DAO;
using Wolfut.MirageEE.Core.Test.Domain;

namespace Wolfut.MirageEE.Core.Test.Dao
{
    public class CategorySqlMapperDao : BaseSqlMapDao ,ICategoryDao
    {
     
        #region ICategoryDao Members

        public System.Collections.Generic.IList<Category> GetCategoryList()
        {
            
            return ExecuteQueryForList<Category>("GetCategoryList", null);
        }

        public Category GetCategory(string categoryId)
        {
            return ExecuteQueryForObject<Category>("GetCategory", categoryId);
        }

        #endregion
    }
}
